function delete(X)

% delete  [Not a public function] Use Java delete methods if possible.
%
% Backend IRIS function.
% No help provided.

% -IRIS Toolbox.
% -Copyright (c) 2007-2015 IRIS Solutions Team.


if usejava('jvm') && ~any(X=='*')
    java.io.File(X).delete() ;
else
    builtin('delete',X) ;
end

end